package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程表对象 zzxx_course
 * 
 * @author ruoyi
 * @date 2022-06-21
 */
public class ZzxxCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long courseId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String description;

    /** 课程时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "课程时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 课程用书 */
    @Excel(name = "课程用书")
    private String book;

    /** 任课教师 */
    @Excel(name = "任课教师")
    private Long teacherId;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setBook(String book) 
    {
        this.book = book;
    }

    public String getBook() 
    {
        return book;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("name", getName())
            .append("description", getDescription())
            .append("time", getTime())
            .append("book", getBook())
            .append("teacherId", getTeacherId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
